﻿namespace Model.Result
{
    /// <summary>
    /// 前端返回结果
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public class RM_FrontApiReturn<T> where T : class, new()
    {
        /// <summary>
        /// 状态
        /// </summary>
        public string Status { get; set; }

        /// <summary>
        /// 是否执行操作
        /// </summary>
        public bool IsAction { get; set; }

        /// <summary>
        /// 消息
        /// </summary>
        public string Msg { get; set; }

        /// <summary>
        /// 具体数据
        /// </summary>
        public T Data { get; set; }

        /// <summary>
        /// 是否成功
        /// </summary>
        public bool Success { get; set; }
    }
}